package asteroids.model.programs.expressions;

public class Variable extends Expression {

	public Variable(int line, int column, String name) {
		super(line, column);
		this.name = name;
	}
	
	public String getName() {
		return name;
	}
	
	private final String name;
	
	@Override
	public <T> T accept(ExprEvaluator<T> ee) {
		return ee.evaluate(this);
	}

}
